#!/bin/ash -efu
#
# mkimage-reset-cache
#
# This file is part of mkimage
# Copyright (C) 2008  Alexey Gladkov <gladkov.alexey@gmail.com>
#
# This file is covered by the GNU General Public License,
# which should be included with mkimage as the file COPYING.
#

if [ "$#" -eq 0 ]; then
	printf 'Usage: %s target [target1 ...]\n' "${0##*/}" >&2
	exit
fi

export TARGET_STAGES="$*"
exec make reset-cache
